<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8" />
		<title></title>
		<style type="text/css">
			*{
				margin:0;
				padding: 0;
			}
			.box{
				width: 100%;
				height: 400px;
				border: 1px solid black;
				background: url('https://x.dscmall.cn/storage/data/afficheimg/1490062791529079580.jpg');
			}
			.list{
				list-style-type: none;
				width: 1200px;
				height: 320px;
				
			}
			.list li{
				width: 241px;
				height: 316px;
				float: left;
			}
			
		</style>
	</head>
	<body>
		<button type="button">点击</button>
		<div class="box">
			
		</div>
		<ul class="list">
			
		</ul>
	</body>
	<script src="js/dsc.js" type="text/javascript" charset="utf-8"></script>
	<script type="text/javascript">
		var btn=document.getElementsByTagName('button')[0];
		var box=document.getElementsByClassName('box')[0];
		var list=document.getElementsByClassName('list')[0];
		btn.onclick=function(){
			console.log(data5);
			for(var i=0;i<data5.shoeBag.length;i++){
				// console.log(data5.shoeBag[i].pic);
				// box.innerHTML+=`
				// <img src='${data5.shoeBag[i].pic}'/>
				// <p>${data5.shoeBag[i].describe}</p>
				// `;
				list.innerHTML+=`
				<li><img src='${data5.shoeBag[i].pic}'/></li>
				
				`;
			}
			
		}
	</script>
</html>
